<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-06-10
 * Time: 11:28
 * 会员表
 */

namespace app\api\model;


use think\model\concern\SoftDelete;

class Member extends BaseModel
{
    use SoftDelete;

    protected $hidden = [
        'id', 'create_time', 'update_time'
    ];

    /**
     * 会员身份证正面照片
     */
    public function justImg()
    {
        return $this->belongsTo('Image','id_just_img_id');
    }

    /**
     * 会员身份证正面照片
     */
    public function backImg()
    {
        return $this->belongsTo('Image','id_back_img_id');
    }
}